<template>
    <thead>
        <tr>
            <th class="checkbox-header">
              <CheckedAll
                :setIsCheckedAll="setIsCheckedAll"
                :isCheckedAll="isCheckedAll"
              />
            </th>
            <th>商品信息</th>
            <th>单价</th>
            <th>数量</th>
            <th>金额</th>
            <th>操作</th>
        </tr>
    </thead>
</template>

<script>
import CheckedAll from './CheckedAll'
export default {
  name: 'ShoppingHeader',
  components: {
    'CheckedAll': CheckedAll
  },
  props: {
    'setIsCheckedAll': {
      type: Function,
      required: true
    },
    'isCheckedAll': {
      type: Boolean,
      required: true
    }
  }
}
</script>

<style lang='scss'>

  th{
    padding-bottom: 10px;
    border-bottom: 1px solid #eeeeee;
  }
</style>
